package com.yyb.utils.neteaseim.api;

import com.jiuqian.xdpx.aid.neteaseim.bean.reseponse.NeImHistoryMessageResponse;
import com.jiuqian.xdpx.aid.neteaseim.bean.query.NeImSingleHistoryMessageQuery;

public interface NeImHistoryMessageService {

    /** 单聊云端历史消息查询 */
    String SINGLE_HISTORY_MSG = "https://api.netease.im/nimserver/history/querySessionMsg.action";

    /**
     *  查询历史消息
     *
     * @param query 查询条件
     * @return
     */
    NeImHistoryMessageResponse querySingleHistoryMsg(NeImSingleHistoryMessageQuery query);

}
